home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / person1a / form1.frm (.txt) next >
Encoding:
Visual Basic Form  |  1999-08-28  |  1.9 KB  |  50 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   585
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   4035
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   585
  10.    ScaleWidth      =   4035
  11.    StartUpPosition =   2  'CenterScreen
  12.    Begin VB.CommandButton Command3 
  13.       Caption         =   "Test3"
  14.       Height          =   375
  15.       Left            =   2700
  16.       TabIndex        =   2
  17.       Top             =   90
  18.       Width           =   1185
  19.    End
  20.    Begin VB.CommandButton Command2 
  21.       Caption         =   "Test2"
  22.       Height          =   375
  23.       Left            =   1440
  24.       TabIndex        =   1
  25.       Top             =   90
  26.       Width           =   1185
  27.    End
  28.    Begin VB.CommandButton Command1 
  29.       Caption         =   "Test1"
  30.       Height          =   375
  31.       Left            =   180
  32.       TabIndex        =   0
  33.       Top             =   90
  34.       Width           =   1185
  35.    End
  36. Attribute VB_Name = "Form1"
  37. Attribute VB_GlobalNameSpace = False
  38. Attribute VB_Creatable = False
  39. Attribute VB_PredeclaredId = True
  40. Attribute VB_Exposed = False
  41. Private Sub Command1_Click()
  42. Call InpBox(InpForm1, "This is it", DefInp, "Here comes the title", "Times New Roman", 1000, 1000)
  43. End Sub
  44. Private Sub Command2_Click()
  45. Call InpBox(InpForm1, "This is line 1" & vbCr & "This is line 2" & vbCr & "This is line 3" & vbCr & "This is line 4" & vbCr & "This is line 5" & vbCr & "This is line 6" & vbCr & "This is line 7", DefInp, "Here comes the title", "Tahoma", 4000, 5000)
  46. End Sub
  47. Private Sub Command3_Click()
  48. Call InpBox(InpForm1, "Here you can see some different things about the prompt..." & vbCr & vbCr & "if you use some VbCr's in the prompt, you can see something like this." & vbCr & vbCr & vbCr & vbCr & "Got it ?", DefInp, "Here comes the title", "Arial Black", 6900, 3000)
  49. End Sub
  50.